package cn.dankal.flyaudio.presenter;

import android.view.View;

import cn.dankal.basiclib.base.activity.BaseActivity;
import cn.dankal.basiclib.util.WebViewUtil;
import cn.dankal.basiclib.widget.DKWebView;
import cn.dankal.flyaudio.R;

/**
 * <pre>
 *     e-mail : junfeng.nie@duntech.com.cn
 *     time   : 21/7/2020
 *     desc   : 用户服务
 *     version: cn.dankal.flyaudio.presenter
 *     Copyright: Copyright（c）2018
 *     Company:
 * </pre>
 *
 * @author niejunfeng
 */
public class UserServiceActivity extends BaseActivity {
    @Override
    protected int getLayoutId() {
        return R.layout.activity_user_service;
    }

    private DKWebView dkWebView;
    @Override
    protected void initComponents() {
        dkWebView = findViewById(R.id.dk_webview);


        WebViewUtil.loadData(dkWebView,getIntent().getStringExtra("webContent"));
        findViewById(R.id.iv_onback).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
    }
}
